#!/bin/bash


nodb="10.14.224.116/cloud.ebay.com
10.89.65.39/cloud.ebay.com
10.249.125.11/ecg.so 
10.249.125.12/ecg.so 
10.253.24.15/posnetprod.com"

PATH=/bin:/usr/bin:/usr/sbin:/opt/bind/bin

for l in $(echo $nodb); do 
	server=$(echo $l | sed -e "s/\/.*//")
	zone=$(echo $l | sed -e "s/.*\///")
	echo "============= Server: $server 	Zone: $zone"
	dig @${server} -t soa $zone +short +tcp
	dig @${server} -t soa $zone +short +notcp
	echo
done
